<?php
class MY_Controller extends MX_Controller{
	public $module_name;
    function __construct(){
        parent::__construct();	
        $this->module_name = $this->router->fetch_module();
    }

    function get_assets($file = "") {
    	return APPPATH . 'modules/' . $this->module_name . '/assets/' . $file;
    }
} 

?>
